<?php

declare(strict_types=1);

namespace App\Index\Controller\Dashboard;

use App\Index\Logic\IndexLogic;
use Base\Controller\AbstractController;


class IndexController extends AbstractController
{
    /**
     * @var IndexLogic
     */
    private $indexLogic;

    public function __construct(IndexLogic $corpService)
    {
        $this->indexLogic = $corpService;
    }

    /**
     * @return array
     */
    public function index()
    {
        return $this->indexLogic->getOne();
    }

}
